package com.ap.core.jaxb;

/**
 * The Interface ModelIterator.
 */
public interface ModelIterator {

    /**
     * Checks for next.
     *
     * @return true, if successful
     * @throws UnmarshallerException the unmarshaller exception
     */
    boolean hasNext() throws UnmarshallerException;
    
    /**
     * Next.
     *
     * @return the object
     * @throws UnmarshallerException the unmarshaller exception
     */
    Object next() throws UnmarshallerException;
    

}
